package request

type GetTypeReq struct {
	// binding:"required"修饰的字段，若接收为空值，则报错，是必须字段
	Id int64 `form:"id" json:"id"`
}

type CreateOrderReq struct {
	// binding:"required"修饰的字段，若接收为空值，则报错，是必须字段
	UserId       int64 `form:"userId" json:"userId"  binding:"required"`
	MemberTypeId int64 `form:"memberTypeId" json:"memberTypeId" binding:"required"`
	Num          int64 `form:"num" json:"num"  binding:"required"`
	PayType      int64 `form:"payType" json:"payType"  binding:"required"`
}

// 充值记录查询功能
type ListOrderReq struct {
	// binding:"required"修饰的字段，若接收为空值，则报错，是必须字段
	UserId int64 `form:"userId" json:"userId" binding:"required"`
}

type UpdateStatueReq struct {
	// binding:"required"修饰的字段，若接收为空值，则报错，是必须字段
	OrderSn         string `form:"orderSn" json:"orderSn"  binding:"required"`
	OrderStatus     int64  `form:"orderStatus" json:"orderStatus"  binding:"required"`
	MemberStatus    int64  `form:"memberStatus" json:"memberStatus" binding:"required"`
	MemberExpiredAt string `form:"memberExpiredAt" json:"memberExpiredAt" binding:"required"`
}
